package com.xjoyt.pay.master.vo;

public class CashDetail extends com.xjoyt.pay.master.po.CashDetail {
	public double getPoundageSum() {
		long money = this.money == null ? 0 : this.money;
		double rate = this.rate == null ? 0 : this.rate;
		long poundage = this.poundage == null ? 0 : this.poundage;
		long limit = this.limit == null ? 0 : this.limit;
		long minimum = this.minimum == null ? 0 : this.minimum;

		return money * rate + poundage + limit + minimum;
	}
}
